package com.aaa.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
    private Integer code = 1;
    private String msg = "失败";
    private String exmsg;

    public Result(String exmsg) {
        this.code = 1;
        this.msg = "失败";
        this.exmsg = exmsg;
    }
}
